package com.mlethe.android.demo.banner.loader;

import android.content.Context;
import android.widget.ImageView;

import com.bumptech.glide.Glide;
import com.mlethe.library.widget.banner.BannerView;

public class ImageLoader extends BannerView.ImageEngine {
    public ImageLoader(String imagePath) {
        super(imagePath);
    }

    @Override
    public void displayImage(Context context, ImageView imageView, String imagePath) {
        Glide.with(context).load(imagePath).into(imageView);
    }
}
